package com.xhs.main.dao.cwb;

import com.xhs.main.entity.cwb.CwbProposer;

import java.util.List;

public interface CwbProposerDao {

    void insertCwbProposer(CwbProposer cwbProposer);

    //查询所有的申请数据
    List<CwbProposer> selectAllCwbProposer();

    CwbProposer selectOneByID(Integer cwbPId);

    //分页查询
    List<CwbProposer> selectAllCwbProposerByLimit(Integer page,Integer limit);

    //软删除(更改数据状态)
    Integer setOneID(Integer id);

    //更新申请信息
    void updateApply(String reason,String bill,Integer id);

    //条件查询
    List<CwbProposer> selectByCondition(String employeeID,String applyType,String people,String department,Integer page,Integer limit);

    //部门经费申请汇总
    Double selectAllMoney();

    //待处理的税务
    Integer selectAllOpr();

    //未处理的税务
    Integer selectAllNoOpr();

}
